package com.smfx.yxt.view;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.smfx.yxt.common.enums.CoachStatus;
import com.smfx.yxt.common.enums.CoachType;
import com.smfx.yxt.model.StudentCoach;

public class StudentCoachView implements Serializable{

	private static final long serialVersionUID = -4272453131706684004L;
	
	private Integer coachId;
	private Integer leaveId;
	private Integer schoolId;
	private String schoolName;
	private Integer teacherId; 
	private String teacherName; 
	private String teacherOpenid;
	private String subject; 
	private Date coachTime; 
	private String coachResult;
	private String coachStatus; 
	private Integer coachType;
	private Integer studentId;
	private String studentName;
	private Integer studyType;
	private Integer grade;
	private Integer clazz;
	private String teacherPhone;
	private Date leaveStartTime;
	private Date leaveEndTime;
	
	private List<StudentCoach> coachList;
	
	
	public Integer getCoachId() {
		return coachId;
	}
	public void setCoachId(Integer coachId) {
		this.coachId = coachId;
	}
	public Integer getLeaveId() {
		return leaveId;
	}
	public void setLeaveId(Integer leaveId) {
		this.leaveId = leaveId;
	}
	public Integer getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public Integer getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public String getTeacherOpenid() {
		return teacherOpenid;
	}
	public void setTeacherOpenid(String teacherOpenid) {
		this.teacherOpenid = teacherOpenid;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public Date getCoachTime() {
		return coachTime;
	}
	public void setCoachTime(Date coachTime) {
		this.coachTime = coachTime;
	}
	public String getCoachResult() {
		return coachResult;
	}
	public void setCoachResult(String coachResult) {
		this.coachResult = coachResult;
	}
	public String getCoachStatus() {
		return coachStatus;
	}
	public void setCoachStatus(String coachStatus) {
		this.coachStatus = coachStatus;
	}
	public Integer getCoachType() {
		return coachType;
	}
	public void setCoachType(Integer coachType) {
		this.coachType = coachType;
	}
	public Integer getStudentId() {
		return studentId;
	}
	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getStudyType() {
		return studyType;
	}
	public void setStudyType(Integer studyType) {
		this.studyType = studyType;
	}
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	public Integer getClazz() {
		return clazz;
	}
	public void setClazz(Integer clazz) {
		this.clazz = clazz;
	}
	public String getTeacherPhone() {
		return teacherPhone;
	}
	public void setTeacherPhone(String teacherPhone) {
		this.teacherPhone = teacherPhone;
	}
	public Date getLeaveStartTime() {
		return leaveStartTime;
	}
	public void setLeaveStartTime(Date leaveStartTime) {
		this.leaveStartTime = leaveStartTime;
	}
	public Date getLeaveEndTime() {
		return leaveEndTime;
	}
	public void setLeaveEndTime(Date leaveEndTime) {
		this.leaveEndTime = leaveEndTime;
	}
	
	public String getGradeText() {
		return TermView.getGradeName(grade, studyType);
	}
	
	public String getCoachStatusText() {
		return CoachStatus.getDesc(this.coachStatus);
	}
	
	public String getCoachTypeText() {
		return CoachType.getDesc(this.coachType);
	}
	
	public List<StudentCoach> getCoachList() {
		return coachList;
	}
	public void setCoachList(List<StudentCoach> coachList) {
		this.coachList = coachList;
	}
	
}
